from scrapy import cmdline
import os
os.chdir("/Users/leixun/python/BugDailyMail/BugDailyMail")
os.getcwd()
cmdline.execute("scrapy crawl BugDaily".split())